﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Summer.Core.Ioc;

#region License
/*
 *  Copyright (c) Dumuzi.cn 2009 , All rights reserved.
 *  CLR Version: 2.0.50727.4927
 *  NameSpace: Summer.Windows.Context
 *  Author:Edwin Tai,戴佳顺
 *  Msn:edwin19861218@hotmail.com
 *  QQ: 1961218
 *  Date:2009-11-05 20:17:03
 *  Licensed under the Microsoft Public License (Ms-PL)
 *  This license governs use of the accompanying software. 
 *  If you use the software, you accept this license.
 *  If you do not accept the license, do not use the software.
 */
#endregion

namespace Summer.Windows.Context
{
    /// <summary>
    ///  The Base Container in windows ,every web container is in it.
    /// </summary>
    public class WindowsContextContainer : AbstractContextContainer<AbstractContextContainer<IContextObject>>
    {
        /// <summary>
        /// Container name
        /// </summary>
        private string m_name = "BaseWindowsContextContainer";
        /// <summary>
        /// Override the name of container
        /// </summary>
        public override string Name
        {
            get
            {
                return this.m_name;
            }
            set
            {
                this.m_name = value;
            }
        }
        /// <summary>
        /// Container initialization
        /// </summary>
        /// <param name="additional"></param>
        /// <returns></returns>
        public override bool Load(object additional)
        {
            return base.Load(additional);
        }
        /// <summary>
        /// Container disposal 
        /// </summary>
        /// <returns></returns>
        public override bool UnLoad()
        {
            return base.UnLoad();
        }
    }
}
